<?php
//sets view to form
$this->form->setAction($this->url());
echo $this->form;
?>